package com.pubinfo.passbook.common.model.bo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Message implements Serializable {
  /**
   * bizMessage : {"requestMessage":{"processSuffixName":"-付款","processCode":"4400-CBSSJFK","writeoffItems":{"item":{}}}}
   */
  
  @JSONField(name = "bizMessage")
  private BizMessage bizMessage;
  
  @Data
  public static class BizMessage implements Serializable {
    /**
     * requestMessage : {"processSuffixName":"-付款","processCode":"4400-CBSSJFK","writeoffItems":{"item":{}}}
     */
    @JSONField(name = "requestMessage")
    private RequestMessage requestMessage;
    
    @Data
    public static class RequestMessage implements Serializable {
      /**
       * processSuffixName : -付款
       * processCode : 4400-CBSSJFK
       * writeoffItems : {"item":{}}
       */

      @JSONField(name = "processSuffixName")
      private String processSuffixName;
      @JSONField(name = "processCode")
      private String processCode = "SFPTFQJT-CSKJ_02";
      @JSONField(name = "writeoffItems")
      private WriteoffItems writeoffItems;
      
      @Data
      public static class WriteoffItems implements Serializable {
        /**
         * item : {}
         */
        
        @JSONField(name = "item")
        private Item item;
        
        @Data
        public static class Item implements Serializable {
        }
      }
    }
  }
}